package sh.wn36.vehiclemanage.service.service_cjl;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import sh.wn36.vehiclemanage.entity.MaintainRecord;
import com.baomidou.mybatisplus.extension.service.IService;
import sh.wn36.vehiclemanage.entity.entity_cjl.Maintain;
import sh.wn36.vehiclemanage.entity.entity_cjl.Violation;

import java.util.List;
import java.util.Map;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author xk
 * @since 2021-04-26
 */
public interface MaintainRecordService extends IService<MaintainRecord> {

    IPage<Maintain> listMaintainByPage(Page<Maintain> page, QueryWrapper<Maintain> wrapper);

    List<Maintain> listMaintainRecord();

    List<Map<String, Object>> reportList();

    List<Map<String, Object>> queryReportByCarId(Integer carId);


}
